package com.bjpowernode.services;

import com.bjpowernode.beans.User;
import com.bjpowernode.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;

@Service("userServicesFilter")
public class UserServicesFilterImp implements UserServices {
    @Autowired
    UserMapper userMapper;

    @Override
    public User login(String loginAct, String loginPwd) {
        return userMapper.getByUser(loginAct, loginPwd);
    }


}
